package com.sitc.administrator.application.domain;

import com.sitc.administrator.application.network.BaseResponse;

import java.util.List;

public class LoginRes  extends BaseResponse {


    /**
     * msg : hello world!!!
     * flag : true
     * accountDetail : {"accountId":"3898b79e485842ce9920b03e22a2d647","loginName":"OPTA","password":"SQFv5JF7SRUqrpdxtM6PVA==","salt":"57d55377e3aa2ea41873aff9e0547d6b","name":"运维张工","picUrl":null,"skin":"skin-0","roleId":"87ad6c822f0047e297e275bb2c7506c8","roleName":"运维人员","email":"","description":"","isValid":1,"createTime":1553143040000,"updateTime":null,"loginLog":{"id":null,"accountId":null,"aName":null,"loginIP":"42.198.175.23","beginTime":null,"loginTime":"2019-05-13 14:46:34","endTime":null,"keyWord":null},"keyWord":null,"createCapacity":0,"createUserId":"2","createUserName":"admin_admin","type":null,"alarmState":1,"regState":0,"invalidTime":1553143040000,"corNamval":null,"corPhoval":null,"phone":"","poss":[]}
     * token : eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjMxMTc1NTU2Mjc0NDIsInBheWxvYWQiOiIzODk4Yjc5ZTQ4NTg0MmNlOTkyMGIwM2UyMmEyZDY0NyJ9.5Gcda2IAVTDuEM-6XDBMc6qPv0qx6HypFCfTEArotQk
     */

    private String msg;
    private boolean flag;
    private AccountDetailBean accountDetail;
    private String token;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public AccountDetailBean getAccountDetail() {
        return accountDetail;
    }

    public void setAccountDetail(AccountDetailBean accountDetail) {
        this.accountDetail = accountDetail;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public static class AccountDetailBean {
        /**
         * accountId : 3898b79e485842ce9920b03e22a2d647
         * loginName : OPTA
         * password : SQFv5JF7SRUqrpdxtM6PVA==
         * salt : 57d55377e3aa2ea41873aff9e0547d6b
         * name : 运维张工
         * picUrl : null
         * skin : skin-0
         * roleId : 87ad6c822f0047e297e275bb2c7506c8
         * roleName : 运维人员
         * email :
         * description :
         * isValid : 1
         * createTime : 1553143040000
         * updateTime : null
         * loginLog : {"id":null,"accountId":null,"aName":null,"loginIP":"42.198.175.23","beginTime":null,"loginTime":"2019-05-13 14:46:34","endTime":null,"keyWord":null}
         * keyWord : null
         * createCapacity : 0
         * createUserId : 2
         * createUserName : admin_admin
         * type : null
         * alarmState : 1
         * regState : 0
         * invalidTime : 1553143040000
         * corNamval : null
         * corPhoval : null
         * phone :
         * poss : []
         */

        private String accountId;
        private String loginName;
        private String password;
        private String salt;
        private String name;
        private Object picUrl;
        private String skin;
        private String roleId;
        private String roleName;
        private String email;
        private String description;
        private int isValid;
        private long createTime;
        private Object updateTime;
        private LoginLogBean loginLog;
        private Object keyWord;
        private int createCapacity;
        private String createUserId;
        private String createUserName;
        private Object type;
        private int alarmState;
        private int regState;
        private long invalidTime;
        private Object corNamval;
        private Object corPhoval;
        private String phone;
        private List<?> poss;

        public String getAccountId() {
            return accountId;
        }

        public void setAccountId(String accountId) {
            this.accountId = accountId;
        }

        public String getLoginName() {
            return loginName;
        }

        public void setLoginName(String loginName) {
            this.loginName = loginName;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public String getSalt() {
            return salt;
        }

        public void setSalt(String salt) {
            this.salt = salt;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Object getPicUrl() {
            return picUrl;
        }

        public void setPicUrl(Object picUrl) {
            this.picUrl = picUrl;
        }

        public String getSkin() {
            return skin;
        }

        public void setSkin(String skin) {
            this.skin = skin;
        }

        public String getRoleId() {
            return roleId;
        }

        public void setRoleId(String roleId) {
            this.roleId = roleId;
        }

        public String getRoleName() {
            return roleName;
        }

        public void setRoleName(String roleName) {
            this.roleName = roleName;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public int getIsValid() {
            return isValid;
        }

        public void setIsValid(int isValid) {
            this.isValid = isValid;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public Object getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(Object updateTime) {
            this.updateTime = updateTime;
        }

        public LoginLogBean getLoginLog() {
            return loginLog;
        }

        public void setLoginLog(LoginLogBean loginLog) {
            this.loginLog = loginLog;
        }

        public Object getKeyWord() {
            return keyWord;
        }

        public void setKeyWord(Object keyWord) {
            this.keyWord = keyWord;
        }

        public int getCreateCapacity() {
            return createCapacity;
        }

        public void setCreateCapacity(int createCapacity) {
            this.createCapacity = createCapacity;
        }

        public String getCreateUserId() {
            return createUserId;
        }

        public void setCreateUserId(String createUserId) {
            this.createUserId = createUserId;
        }

        public String getCreateUserName() {
            return createUserName;
        }

        public void setCreateUserName(String createUserName) {
            this.createUserName = createUserName;
        }

        public Object getType() {
            return type;
        }

        public void setType(Object type) {
            this.type = type;
        }

        public int getAlarmState() {
            return alarmState;
        }

        public void setAlarmState(int alarmState) {
            this.alarmState = alarmState;
        }

        public int getRegState() {
            return regState;
        }

        public void setRegState(int regState) {
            this.regState = regState;
        }

        public long getInvalidTime() {
            return invalidTime;
        }

        public void setInvalidTime(long invalidTime) {
            this.invalidTime = invalidTime;
        }

        public Object getCorNamval() {
            return corNamval;
        }

        public void setCorNamval(Object corNamval) {
            this.corNamval = corNamval;
        }

        public Object getCorPhoval() {
            return corPhoval;
        }

        public void setCorPhoval(Object corPhoval) {
            this.corPhoval = corPhoval;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public List<?> getPoss() {
            return poss;
        }

        public void setPoss(List<?> poss) {
            this.poss = poss;
        }

        public static class LoginLogBean {
            /**
             * id : null
             * accountId : null
             * aName : null
             * loginIP : 42.198.175.23
             * beginTime : null
             * loginTime : 2019-05-13 14:46:34
             * endTime : null
             * keyWord : null
             */

            private Object id;
            private Object accountId;
            private Object aName;
            private String loginIP;
            private Object beginTime;
            private String loginTime;
            private Object endTime;
            private Object keyWord;

            public Object getId() {
                return id;
            }

            public void setId(Object id) {
                this.id = id;
            }

            public Object getAccountId() {
                return accountId;
            }

            public void setAccountId(Object accountId) {
                this.accountId = accountId;
            }

            public Object getAName() {
                return aName;
            }

            public void setAName(Object aName) {
                this.aName = aName;
            }

            public String getLoginIP() {
                return loginIP;
            }

            public void setLoginIP(String loginIP) {
                this.loginIP = loginIP;
            }

            public Object getBeginTime() {
                return beginTime;
            }

            public void setBeginTime(Object beginTime) {
                this.beginTime = beginTime;
            }

            public String getLoginTime() {
                return loginTime;
            }

            public void setLoginTime(String loginTime) {
                this.loginTime = loginTime;
            }

            public Object getEndTime() {
                return endTime;
            }

            public void setEndTime(Object endTime) {
                this.endTime = endTime;
            }

            public Object getKeyWord() {
                return keyWord;
            }

            public void setKeyWord(Object keyWord) {
                this.keyWord = keyWord;
            }
        }
    }
}
